export default interface DlnaService {
    onPositionChanged(position: number, duration: number, callback: onPositionChangedCallback): void;
    onPlayerStatusChanged(playerStatus: number, callback: onPlayerStatusChangedCallback): void;
    onPlayerError(callback: onPlayerErrorCallback): void;
}
export type onPositionChangedCallback = (errCode: number, returnValue: number) => void;
export type onPlayerStatusChangedCallback = (errCode: number, returnValue: number) => void;
export type onVolumeChangedCallback = (errCode: number, returnValue: number) => void;
export type onPlayerErrorCallback = (errCode: number, returnValue: number) => void;
export type PositionCallback = (position: number, duration: number) => void ;
export type VolumeCallback = (volume: number, maxVolume: number) => void ;
export type StatusCallback = (playFlag: boolean) => void ;

